package org.cloudie.docs.editor.client.commands.generic;

import org.cloudie.docs.editor.client.windows.GenericWindow.WindowContents;

public class WindowRestoreCommand extends WindowAddCommand {

  public final static int serialUid = 30;
  protected String iconId, windowId;
  
  public WindowRestoreCommand(String iconId, String windowId, String title, WindowContents contents,
      int x, int y, int width, int height) {
    super(windowId, title, contents, x, y, width, height);
    this.iconId = iconId;
    this.windowId = windowId;
    this.description = "Restore window.";
  }

  public String getIconId() {
    return iconId;
  }

  public void setIconId(String iconId) {
    this.iconId = iconId;
  }

  public String getWindowId() {
    return windowId;
  }

  public void setWindowId(String windowId) {
    this.windowId = windowId;
  }
  
  @Override
  public int getCommandId() {
    return serialUid;
  }
  
}
